package sanrenxing.teacher.domain;

import java.io.Serializable;

public class Teacher implements Serializable {
  private int teacherId;      //编号
  private String teacherName; //姓名
  private int roleId;  //职务
  private String teacherNum;  //账号
  private String teacherPwd;  //密码
  private String teacherPhone;//电话

   //默认构造方法
    public Teacher() {
    }
    //带参数构造方法


    public Teacher(int teacherId, String teacherName, int roleId, String teacherNum, String teacherPwd, String teacherPhone) {
        this.teacherId = teacherId;
        this.teacherName = teacherName;
        this.roleId = roleId;
        this.teacherNum = teacherNum;
        this.teacherPwd = teacherPwd;
        this.teacherPhone = teacherPhone;
    }

    //自动生成的set/get方法
    public int getTeacherId() {
        return teacherId;
    }

    public void setTeacherId(int teacherId) {
        this.teacherId = teacherId;
    }

    public String getTeacherName() {
        return teacherName;
    }

    public void setTeacherName(String teacherName) {
        this.teacherName = teacherName;
    }

    public int getRoleId() {
        return roleId;
    }

    public void setRoleId(int roleId) {
        this.roleId = roleId;
    }

    public String getTeacherNum() {
        return teacherNum;
    }

    public void setTeacherNum(String teacherNum) {
        this.teacherNum = teacherNum;
    }

    public String getTeacherPwd() {
        return teacherPwd;
    }

    public void setTeacherPwd(String teacherPwd) {
        this.teacherPwd = teacherPwd;
    }

    public String getTeacherPhone() {
        return teacherPhone;
    }

    public void setTeacherPhone(String teacherPhone) {
        this.teacherPhone = teacherPhone;
    }
}
